<template>
  <el-form-item label="赠送发数">
    <el-input v-model="form2.num" style="width: 600px" type="number"></el-input>
  </el-form-item>
</template>
        
<script>
// 加1元给3个
export default {
  props: {
    form: {
      type: Object,
    },
  },
  name: "One",
  data() {
    return {
      form2: this.form,
    };
  },
  form2: {
    handler(newVal) {
      this.$emit("updateComponet", { type: "one", value: newVal });
    },
  },
};
</script>